package com.day3me.java;

public class ThreadOneTest {
    public static void main(String[] args) {
        MyThreadOne mt = new MyThreadOne();
        mt.start();
        for(int i= 0 ; i<100; i++){
            System.out.println("当前打印数字"+(i+1)+"~~~~~~~~~~~~~~~~~~");
        }
    }
}

class MyThreadOne extends  Thread{
    @Override
    public void run() {
        for(int i = 0; i<100; i++){
            System.out.println("打印当前数字"+(i+1)+"==============");
        }
    }
}

class MyThreadtwo implements Runnable{
    @Override
    public void run() {

    }
}
